[INFO] fetching crate rustocr 0.7.0...
[INFO] testing rustocr-0.7.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate rustocr 0.7.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate rustocr 0.7.0
[INFO] finished tweaking crates.io crate rustocr 0.7.0
[INFO] tweaked toml for crates.io crate rustocr 0.7.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rustocr 0.7.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rustocr 0.7.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded type1-encoding-parser v0.1.0
[INFO] [stderr]   Downloaded adobe-cmap-parser v0.4.1
[INFO] [stderr]   Downloaded euclid v0.20.14
[INFO] [stderr]   Downloaded rangemap v1.7.1
[INFO] [stderr]   Downloaded postscript v0.14.1
[INFO] [stderr]   Downloaded pdf-extract v0.7.12
[INFO] [stderr]   Downloaded pom v1.1.0
[INFO] [stderr]   Downloaded lopdf v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f433f2322e387797a55678a15c0e5ec876d79dc9faeb9d81014c8e8884e3a6d6
[INFO] running `Command { std: "docker" "start" "-a" "f433f2322e387797a55678a15c0e5ec876d79dc9faeb9d81014c8e8884e3a6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f433f2322e387797a55678a15c0e5ec876d79dc9faeb9d81014c8e8884e3a6d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f433f2322e387797a55678a15c0e5ec876d79dc9faeb9d81014c8e8884e3a6d6", kill_on_drop: false }`
[INFO] [stdout] f433f2322e387797a55678a15c0e5ec876d79dc9faeb9d81014c8e8884e3a6d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52943a804204fb1bd94ad7b8bff56ac842ac2bd3323d7c8e9360f61ddff535f8
[INFO] running `Command { std: "docker" "start" "-a" "52943a804204fb1bd94ad7b8bff56ac842ac2bd3323d7c8e9360f61ddff535f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling pom v1.1.0
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling portable-atomic v1.13.0
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling rangemap v1.7.1
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling lebe v0.5.3
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling gif v0.13.3
[INFO] [stderr]    Compiling type1-encoding-parser v0.1.0
[INFO] [stderr]    Compiling adobe-cmap-parser v0.4.1
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling euclid v0.20.14
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling filetime v0.2.26
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling postscript v0.14.1
[INFO] [stderr]    Compiling utf8-width v0.1.8
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling html-escape v0.2.13
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling notify v6.1.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling lopdf v0.34.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy-derive v0.8.31
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling pdf-extract v0.7.12
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling exr v1.74.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling rustocr v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgressBar` and `ProgressStyle`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use indicatif::{ProgressBar, ProgressStyle};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/batch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/batch.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BatchResult`
[INFO] [stdout]   --> src/main.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 | use batch::{process_batch, BatchResult};
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/client.rs:48:32
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let base64_image = base64::encode(&image_data);
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile_config`
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let profile_config = if let Some(profile_name) = &args.profile {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_languages`
[INFO] [stdout]    --> src/main.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |     let final_languages = args.languages.clone();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_languages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_gpu`
[INFO] [stdout]    --> src/main.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let final_gpu = args.gpu;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_gpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_detail`
[INFO] [stdout]    --> src/main.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let final_detail = args.detail;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_detail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_output`
[INFO] [stdout]    --> src/main.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |     let final_output = args.output.clone();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status` and `request_id` are never read
[INFO] [stdout]   --> src/client.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct OcrResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 30 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 31 |     request_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OcrResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "52943a804204fb1bd94ad7b8bff56ac842ac2bd3323d7c8e9360f61ddff535f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52943a804204fb1bd94ad7b8bff56ac842ac2bd3323d7c8e9360f61ddff535f8", kill_on_drop: false }`
[INFO] [stdout] 52943a804204fb1bd94ad7b8bff56ac842ac2bd3323d7c8e9360f61ddff535f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85f2a7a04478a7d1d1ae8a86434a2ee5e9ccfa3acd76d0d7ca48edde0abcbd23
[INFO] running `Command { std: "docker" "start" "-a" "85f2a7a04478a7d1d1ae8a86434a2ee5e9ccfa3acd76d0d7ca48edde0abcbd23", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustocr v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ProgressBar` and `ProgressStyle`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use indicatif::{ProgressBar, ProgressStyle};
[INFO] [stdout]   |                 ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/batch.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/batch.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BatchResult`
[INFO] [stdout]   --> src/main.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 | use batch::{process_batch, BatchResult};
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/client.rs:48:32
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let base64_image = base64::encode(&image_data);
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile_config`
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let profile_config = if let Some(profile_name) = &args.profile {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_languages`
[INFO] [stdout]    --> src/main.rs:205:9
[INFO] [stdout]     |
[INFO] [stdout] 205 |     let final_languages = args.languages.clone();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_languages`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_gpu`
[INFO] [stdout]    --> src/main.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let final_gpu = args.gpu;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_gpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_detail`
[INFO] [stdout]    --> src/main.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let final_detail = args.detail;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_detail`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `final_output`
[INFO] [stdout]    --> src/main.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |     let final_output = args.output.clone();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `status` and `request_id` are never read
[INFO] [stdout]   --> src/client.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct OcrResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 30 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 31 |     request_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OcrResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s
[INFO] running `Command { std: "docker" "inspect" "85f2a7a04478a7d1d1ae8a86434a2ee5e9ccfa3acd76d0d7ca48edde0abcbd23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85f2a7a04478a7d1d1ae8a86434a2ee5e9ccfa3acd76d0d7ca48edde0abcbd23", kill_on_drop: false }`
[INFO] [stdout] 85f2a7a04478a7d1d1ae8a86434a2ee5e9ccfa3acd76d0d7ca48edde0abcbd23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7bf4fc9c21752318817d00e12bbab7d008820445fea76b53956aa5df308e89f8
[INFO] running `Command { std: "docker" "start" "-a" "7bf4fc9c21752318817d00e12bbab7d008820445fea76b53956aa5df308e89f8", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]  --> src/main.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ProgressBar` and `ProgressStyle`
[INFO] [stderr]  --> src/main.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 | use indicatif::{ProgressBar, ProgressStyle};
[INFO] [stderr]   |                 ^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]  --> src/client.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::path::PathBuf;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> src/batch.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]  --> src/batch.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BatchResult`
[INFO] [stderr]   --> src/main.rs:14:28
[INFO] [stderr]    |
[INFO] [stderr] 14 | use batch::{process_batch, BatchResult};
[INFO] [stderr]    |                            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stderr]   --> src/client.rs:48:32
[INFO] [stderr]    |
[INFO] [stderr] 48 |     let base64_image = base64::encode(&image_data);
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `profile_config`
[INFO] [stderr]    --> src/main.rs:196:9
[INFO] [stderr]     |
[INFO] [stderr] 196 |     let profile_config = if let Some(profile_name) = &args.profile {
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile_config`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `final_languages`
[INFO] [stderr]    --> src/main.rs:205:9
[INFO] [stderr]     |
[INFO] [stderr] 205 |     let final_languages = args.languages.clone();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_languages`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `final_gpu`
[INFO] [stderr]    --> src/main.rs:206:9
[INFO] [stderr]     |
[INFO] [stderr] 206 |     let final_gpu = args.gpu;
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_gpu`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `final_detail`
[INFO] [stderr]    --> src/main.rs:207:9
[INFO] [stderr]     |
[INFO] [stderr] 207 |     let final_detail = args.detail;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_detail`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `final_output`
[INFO] [stderr]    --> src/main.rs:208:9
[INFO] [stderr]     |
[INFO] [stderr] 208 |     let final_output = args.output.clone();
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_output`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `status` and `request_id` are never read
[INFO] [stderr]   --> src/client.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | struct OcrResponse {
[INFO] [stderr]    |        ----------- fields in this struct
[INFO] [stderr] 30 |     status: String,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 31 |     request_id: String,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `OcrResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rustocr` (bin "rustocr" test) generated 13 warnings (run `cargo fix --bin "rustocr" -p rustocr --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustocr-f081c1e0f8020b4d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7bf4fc9c21752318817d00e12bbab7d008820445fea76b53956aa5df308e89f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bf4fc9c21752318817d00e12bbab7d008820445fea76b53956aa5df308e89f8", kill_on_drop: false }`
[INFO] [stdout] 7bf4fc9c21752318817d00e12bbab7d008820445fea76b53956aa5df308e89f8
